package com.zxy.supplier_system.server.repository

import com.zxy.supplier_system.server.entity.SubGoods
import com.zxy.supplier_system.server.entity.SystemService
import org.springframework.data.jpa.repository.JpaRepository

interface SubGoodsRepository: JpaRepository<SubGoods, Int>{

    fun existsByNumberAndGoods_BarcodeAndGoods_SystemService(number: String, barcode: String, systemService: SystemService): Boolean
}